/// prizeList : [{"location":1,"image":null,"name":null,"prizeCount":null,"prizeList":null}]
/// num : 0
/// content : "<p>抽奖规则！！！</p>"

class LotteryBean {
  LotteryBean({
      this.prizeList, 
      this.num, 
      this.content,});

  LotteryBean.fromJson(dynamic json) {
    if (json['prizeList'] != null) {
      prizeList = [];
      json['prizeList'].forEach((v) {
        prizeList?.add(PrizeList.fromJson(v));
      });
    }
    num = json['num'];
    content = json['content'];
  }
  List<PrizeList>? prizeList;
  int? num;
  String? content;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    if (prizeList != null) {
      map['prizeList'] = prizeList?.map((v) => v.toJson()).toList();
    }
    map['num'] = num;
    map['content'] = content;
    return map;
  }

}

/// location : 1
/// image : null
/// name : null
/// prizeCount : null
/// prizeList : null

class PrizeList {
  PrizeList({
      this.location, 
      this.image, 
      this.name, 
      this.prizeCount, 
      this.prizeList,});

  PrizeList.fromJson(dynamic json) {
    location = json['location'];
    image = json['image'];
    name = json['name'];
    prizeCount = json['prizeCount'];
    prizeList = json['prizeList'];
  }
  int? location;
  dynamic image;
  dynamic name;
  dynamic prizeCount;
  dynamic prizeList;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['location'] = location;
    map['image'] = image;
    map['name'] = name;
    map['prizeCount'] = prizeCount;
    map['prizeList'] = prizeList;
    return map;
  }

}